/*
 * @LastEditors: hyduan
 * @Date: 2021-07-01 22:07:55
 * @LastEditTime: 
 */
import request from '@/api/request'

//个人资料
export const getPersonal = data =>
    request({
        url: '/user/info',
        method: 'GET',
    })
export const editPassword = (data) => {
    request({
        url: '/user/password',
        method: 'PUT',
        data: data
    });
};